home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / bitmap=99BW.hex < prev    next >
Text File  |  1992-11-28  |  3KB  |  42 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9.  
  10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  11. %
  12. %    This tests the 99 opcode with a B&W image and a simple region.
  13. %    Region is the two rectangles with inner corners overlapping.
  14. %
  15. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  16.  
  17.  
  18. % Frame a rectangle that surrounds the bitmap's dest rectangle
  19. 30 002B 0015 0058 0092
  20. % and one that surrounds the data rectangle (note the difference)
  21. 30 002B 0010 0058 0098
  22.  
  23.  
  24. 99
  25. 0012            % rowbytes
  26. 002B 0010 0058 0098    % Bounds  (t l b r)
  27. 002B 0015 0058 0092    % source rect
  28. 002B 0015 0058 0092    % dest rect
  29. 0000            % mode
  30. 002C 002B 0030 0058 0070    % region bounds (clip sides of bitmap)
  31.     002B 0030 0060 7FFF    % top of first rectangle
  32.     003B 0040 0070 7FFF    % top of second rectangle
  33.     004B 0030 0060 7FFF    % bottom of the first rectangle
  34.     0058 0040 0070 7FFF    % bottom of the second rectangle
  35.     7FFF
  36.  
  37. % packed bit data
  38. 02EF0002EF0002EF001301003CFE000A0C00000F1F800000180F0FFF0013010066FE000C0C000019818000001819998000131100667C38787C7870198180F1F0F819998000130300666664FECC0AC819818119999819998000130300666660FECC08E0198300F99998198FFF00131100666660CCCCFC700F86019999980F998000131100666660CCCCC03801860199999801998000131100666664CCCCC49803060199999803198000130F003C7C38787C78700E0600F998F80E0FFF000602000060F2000602000060F20002EF0002EF0002EF000AFB00046FF9040C3FFA000AFB00047FF218301FFA000AFB00047F2420C03BFA000AFB00047E48C301C1FA000AFB00047C910C0E01FA000BFB0005792630700080FB000BFB00057248C3800080FB000BFB000564931C000040FB000BFB00054494600001F0FB000BFB0005624D8000FE10FB000BFB0005912A00FF0010FB000BFB000588963F000010FB000BFB0005C44B40000010FB000BFB0005B26D40000008FB000BFB00058DFEC0000008FB000BFB0005FFFF40000008FB000BFB00057FF7C0000008FB000BFB00057FFFE0000008FB000BFB00057FBFE0000004FB000BFB00055F1FE0000004FB000BFB00057FBFE0000004FB000BFB00057FFEE0000004FB000BFB00057FF7F0000004FB000BFB00057FFFF00000FCFB000EFB00047FFFF0007FFD000201C0000CF90002103F80FD00020140000BF900011FC0FC000201800005F100014000
  39.  
  40. FF    % end
  41.  
  42.